home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
mapping
/
ozgis80
/
ozgis65.tut
< prev
next >
Wrap
Text File
|
1992-01-04
|
2KB
|
56 lines
BUILDING ZONES FROM SEGMENTS
============================
OzZone Program
-------------
The program takes line segments and joins the ends together to form polygons.
The names of the zones on each side of the segments are used to derive the zone
names.
Complex polygons are handled. Zones can be made up of many polygons, both
disjoint polygons and polygons within polygons. The display order of the
polygons are calculated so e.g islands within lakes within zones all appear.
The OzZone program has been implemented as a separate program to provide
maximum capacity on the PC.
It is usual to line simplify (thin) the segments before building as many
digitised boundary files (e.g. census) are at a much higher resolution than
require for the display. Joining of line segments and further thinning may
follow.
The algorithm assumes that the segments have been produced on a proper
digitising system and are correct e.g. it is assumed that end-points meet and
the segments do not cross. Problems such as repeated segments, missing segments
etc may cause problems. Ensure you use the program with trace turned on. If
necessary turn on debug and look at the OZGIS.OUT file.
Use the file interrogation option to find the statistics on the geographic file
e.g. the number of zones.
OzData can be used to generate a prototype attribute file (simple format) from
the zones in the geographics file and hence get some test data that can be
entered via OzEnter to form an attribute file. Displaying both files with
OzCensus will allow the file to be checked.
Example
-------
The procedure can be demonstrated with any of the geographic data files:
Use OzEnter to input the standard geographic file LOWE-G and give it name
TEMP1.
Start OzData, select geographic files and then line simplification. Input file
TEMP1 and output the new one as TEMP2. Simplify according to the size of the
final map on the screen e.g. give a value of 100 to throw away a lot of the
data points.
Now use OzZone to input TEMP2 and output it as TEMP3.
Finally use OzCensus to display the result (using attribute file LOWE1).